home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
animutil
/
flilib
/
flisrc
/
deldir.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1989-11-17
|
259 b
|
18 lines
#include "aatypes.h"
#include "aai86.h"
Boolean dos_del_dir(char *name)
{
union i86_regs r;
r.w.dx = i86_ptr_offset(name);
r.w.ds = i86_ptr_seg(name);
r.b.ah = 0x3a;
if (i86_sysint(0x21, &r, &r) & 1)
return(FALSE);
else
return(TRUE);
}